package swimv2.session;

import java.util.Date;
import java.util.List;

import javax.ejb.Remote;
import javax.resource.spi.IllegalStateException;

import swimv2.entity.User;

@Remote
public interface ILoginRemote {
	public boolean CreateUser(String name, String surname, String username, String psw, String email, String dataNascita) throws IllegalStateException;
	public boolean LoginUser(String username, String psw) throws IllegalStateException;
	public User getLoggedUser();
	public void LogOut();
	public void ModifyUser(User u);

}
